package com.adapter.objectadpter;

/**
 * @author xuehu
 * @date 2021/1/26 9:37
 * 被适配的类
 */
public class Voltage220V {

    //输出220V的电压
    public int output220V() {
        //输出220V电压,不变
        int src = 220;
        System.out.println("电压=" + src + "伏");
        return src;
    }

}
